home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 139 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: otho.cc.flinders.edu.au!polly!doconnor
  2. From: doconnor@polly.ist.flinders.edu.au (Daniel J. O'Connor)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: parallel port programming
  5. Date: 3 Jan 1996 03:25:45 GMT
  6. Organization: Flinders University of South Australia
  7. Message-ID: <4ccsvp$1kjc@otho.cc.flinders.edu.au>
  8. References: <4c6gc3$4o1@st-james.comp.vuw.ac.nz>
  9. NNTP-Posting-Host: polly.cs.flinders.edu.au
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Graham Chiu (gchiu@compkarori.co.nz) wrote:
  13. : Are there any books or texts on line to show how to attach devices to
  14. : the parallel port, and program them?  I just want to do some thing
  15. : very simple like control a relay or switch ...
  16. Thats not too hard, just make sure you isolate your parallel port with
  17. an opto-isolator so you don't blow up your precious CIA's when one of
  18. your creatiosn shorts out :)
  19.  
  20. : I have no knowledge of assembler, so basic, c would be preferred.
  21. I have some C code that is very low level(ie change all the lines cept
  22. for ACK and RDY - could't figure them out :)
  23. I can mail the source to you if you want, its pretty simple tho, since
  24. its basically bashing the hardware(You just allocate the right CIA
  25. resource so you don't mangle anyones print job or something)
  26.  
  27. Seeya
  28. Darius
  29. ~~~~~~
  30.  
  31.  
  32.